<!DOCTYPE html>
<html lang="zh-cn" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" th:content="${config.keywords}">
    <meta name="description" th:content="${config.decText}">
    <link rel="shortcut icon" id="favicon" href="/static/favicon.ico"/>
    <title th:text="${config.siteName}"></title>
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/font-awesome.min.css" rel="stylesheet">
    <link href="/static/css/index2.css" rel="stylesheet">
    <script type="text/javascript" charset="utf-8" src="/static/js/jquery-1.11.3.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
    <link href="/static/layer/mobile/need/layer.css" rel="stylesheet">
    <script type="text/javascript" src="/static/layer/layer.js"></script>
</head>
<body id="home" style="">
<th:block th:include="~{include/header.html::header}"></th:block>
<section id="services" style="padding: 00px;">
    <div class="login_container">
        <div class="login_header">
            <h1 style="text-align: center;">
                用户注册 - 费用支付
            </h1>
        </div>
        <div class="login_box" style="height: auto;">
            <div class="login_box_main" id="main_context">
                <form method="post" class="layui-form" id="registerform" method="post" onsubmit="return false;">
                    <input type="hidden" name="id" th:value="${order.id}">
                    <div class="input_box">
                        <span th:text="'订单号:'+${order.outOrderId}"></span>
                    </div>
                    <div class="input_box">
                        <span th:text="'申请编号:'+${order.id}"></span>
                    </div>
                    <div class="input_box">
                        <span th:text="'金额:'+${order.price}"></span>
                    </div>
                    <div class="input_box">
                        <span th:text="'说明:'+${order.context}"></span>
                    </div>
                    <div class="input_box input1">
                        <select class="input1" name="pay_type">
                            <option value="2">支付方式:支付宝</option>
                            <option value="1">支付方式:微信</option>
                            <option value="3">支付方式:QQ钱包</option>
                        </select>
                    </div>
                    <p class="login_btn">
                        <button value="支付注册费用" lay-submit lay-filter="login" style="width:100%;" type="submit"
                                onclick="submit_reg(this);" ng-disabled='form.$invalid'>
                            支付注册费用
                        </button>
                    </p>
                </form>
                <p class="forget_box">
                    <a href="/admin/login" ui-sref="access.signup" class="a1 ">
                        用户登录
                    </a>
                    <a class="a3" ui-sref="access.forgotpwd" href="/re_email">
                        忘记密码
                    </a>
                </p>
            </div>
        </div>
    </div>
</section>
<section id="contact-us" style="background: white;color: blue;padding: 10px;">
    <div class="container">
        <div class="section-header">
            <h2 class="section-title text-center wow fadeInDown">联系我们</h2>
            <p class="text-center wow fadeInDown"
               th:utext="'商户交流QQ群:'+${config.kfqqq}+' &nbsp; 网站客服QQ:'+${config.kfqq}"></p>
        </div>
    </div>
</section>
<footer id="footer">
    <div class="container">
        <div class="row">
            <div class="col-sm-6">
                <th:block th:text="'Copyright ©2020 '+${config.copyright}+' All rights reserved.'"></th:block>
                <a href="http://www.miibeian.gov.cn/" target="_blank" th:text="${config.icpInfo}"></a>
            </div>
            <div class="col-sm-6"></div>
        </div>
    </div>
</footer>
</body>
<script>

    /**
     * 提交注册
     */
    function submit_reg(obj) {
        var para = $("#registerform").serialize();
        var code = $(obj);
        code.html("<span>请稍等</span>");
        window.location = "/reg/sub_pay?" + para;
    }

</script>
</html>